/*\
|*|     SELECTOR DIV
\*/

.selector {
    width: 400px;
    margin: auto;
    background-color: #f9f9f9;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    padding: .5rem;
}

.selector .tabs {
    display: flex;
    justify-content: space-between;
}

/*\
|*|     OPTIONS
\*/

.option {
    background-color: #ddd;
    user-select: none;
    cursor: pointer;
    padding: .2rem;
    width: 49%;
    text-align: center;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    box-sizing: border-box;

    transition-duration: 200ms;
    transition-property: background-color color;
}

.option.active {
    background-color: #777;
    color: white;
}

.option:not(.active):hover {
    text-decoration: underline;
}

/*\
|*|     FORM DIV
\*/

.form {
    margin-top: .5rem;
}

.form .error {
    background-color: #f98;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    border-color: #700;
    padding: .2rem;
    user-select: none;
}

/*\
|*|     FORM
\*/

.authForm {
    display: flex;
    flex-direction: column;
    margin-top: .5rem;
}

.authForm label {
    margin-right: .5rem;
}

.authForm div {
    display: flex;
    align-items: center;
    margin-bottom: .5rem;
}

.authForm input:not([type='submit']) {
    flex: 1;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
}

.authForm input[type='submit'] {
    padding: .2rem;
    font-size: 1rem;
    background-color: #ddd;
    border: var(--default-border);
    border-radius: var(--default-border-radius);
    cursor: pointer;

    transition-duration: 200ms;
    transition-property: background-color;
}

.authForm input[type='submit']:hover {
    background-color: #ded;
}